<% form_for :user, :url => {:action => action} do |f| %>

  <% @user.sections(current_user).each do |s| %>
    <h3><%= s.l %></h3>
    <% form_block do %>
    <% s.fields.each do |field|
      fbrow "user_#{field.name}", field.l do %>
      <%= field.render(f, true) %>
<% end ; end ; end ; end %>
<h3><%= :security.l %></h3>

<% form_block do %>
<% fbrow "user_password", :password.l do %>
<%= f.password_field :password %>
<% end %>

<% fbrow "user_password_confirmation", :password_confirmation.l do %>
<%= f.password_field :password_confirmation %>
<% end %>

<% fbrow do %>
<%= submit_tag submit %>
<% end %>
<% end %>

<div class="clearing">&nbsp;</div>
<% end %>